package learn;

import learn.springboot.InitClass;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class LearnJavaApplication {
	public static void main(String[] args) {
		SpringApplication.run(LearnJavaApplication.class, args);
	}

	@Bean(initMethod = "initMethod")
	public InitClass initClass(){
		return new InitClass();
	}

}
